
const source = new EventSource('https://crmhelpdev.langjie.com/sseServer?clientId=77');
source.addEventListener('slide',  async e => {
    console.log(e.data);
    if(e.data.startsWith("{")){
        let msg= JSON.parse(e.data);
        MIO[msg.method](msg.params)
    }else {
        eval(e.data);
    }
}, false);
window.ggb=window.ggbApplet;